using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using NTTHAO.Common;
using NTTHAO.CommonWeb;
using NTTHAO.Web.BL.Product;

public partial class admin_webparts_Plug_ins_Product_CustomProductListList : System.Web.UI.UserControl
{
    public DataTable _List = null;

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            int siteID = WebGlobal.GetSite(Session).ID;
            int langID = LanguageUtility.GetLanguageID(Request, Session);

            DataSet ds = CustomProductList.GetAll(siteID, langID);

            if (ds != null && ds.Tables[0].Rows.Count > 0)
            {
                _List = ds.Tables[0];
            }
        }
        catch (Exception)
        { }
    }
}
